
" set the runtime path to include Vundle and initialize
if g:islinux
    set rtp+=~/.vim/bundle/vundle
    call vundle#rc()
else
    set rtp+=$VIM/vimfiles/bundle/vundle
    call vundle#rc()

endif

Plugin 'gmarik/vundle'     " let Vundle manage Vundle

" ====================================
" 语言相关
" ====================================
" python
Plugin 'hdima/python-syntax'

" html/css 
Bundle 'mattn/emmet-vim'

" c/c++
Bundle 'a.vim'
Bundle 'cpp.vim'
Bundle 'scrooloose/nerdcommenter'
Bundle 'octol/vim-cpp-enhanced-highlight'

" ====================================
" 代码片段 
" ====================================
" Plugin 'SirVer/ultisnips'
" Plugin 'honza/vim-snippets'
Bundle 'msanders/snipmate.vim'

" ====================================
" markdown 
" ====================================
Bundle 'gmarik/vim-markdown'

" ====================================
" IDE 相关 
" ====================================

Bundle 'godlygeek/tabular'
Bundle 'majutsushi/tagbar'
Bundle 'taglist.vim'
Bundle 'winmanager'
Bundle 'DoxygenToolkit.vim'
Bundle 'bufexplorer.zip'

Bundle 'scrooloose/nerdtree'
Bundle 'scrooloose/syntastic'

Bundle 'Lokaltog/vim-easymotion'
Bundle 'tpope/vim-surround'
Bundle 'Raimondi/delimitMate'

" Search
if g:islinux
    Bundle 'rking/ag.vim'
endif
Bundle 'kien/ctrlp.vim'
Bundle 'repeat.vim'


